package com.lnlyj.media.demo;

import android.app.Application;

import com.lnlyj.media.Config;
import com.lnlyj.media.LnlyjSelector;

/**
 * wanglei 2020-04-18
 */
public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        LnlyjSelector lnlyjSelector = new LnlyjSelector.Builder(this)
                //初始化全局配置，可选取9个，显示视图4列，媒体类型，暂无实现
                .globalConfig(new Config(9, 4, 1))
                .build();
        LnlyjSelector.init(lnlyjSelector);
    }
}
